Page({
  data: {
    tap: 'onTap',
    item: {
      index: 0,
      msg: 'this is a template',
      time: new Date().toLocaleString()
    },
    list: [
      {
        index: 1,
        msg: 'T is a template',
        time: new Date().toLocaleString()
      },
      {
        index: 2,
        msg: 'Y is a template',
        time: new Date().toLocaleString()
      },
      {
        index: 3,
        msg: 'O is a template',
        time: new Date().toLocaleString()
      }
    ]
  },
  creatTodo(e) {
    console.log(e)
  },
  touchstart() {
    console.log('touchstart')
  },
  touchmove(e) {
    // console.log(e)
  },
  longpress() {
    console.log('longpress')
  },
  onTap() {
    console.log('tap')
  },
  tapBox1() {
    console.log('box1')
  }
})